<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>拼餐APP - 个人中心</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --douyin-red: #FE2C55;
            --dark-bg: #121212;
            --card-bg: #1F1F1F;
            --text-primary: #FFFFFF;
            --text-secondary: #8A8A8A;
        }
         /* 隐藏整个滚动条 */
        .no-scrollbar {
            scrollbar-width: none; /* For Firefox */
            -ms-overflow-style: none; /* For Internet Explorer and Edge */
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none; /* For Chrome, Safari, and Opera */
        }
        body {
            background-color: #f5f5f5;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* iPhone 6 样式 */
        .iphone-frame {
            width: 375px;
            height: 667px;
            background: #1A1A1A;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
            position: relative;
            overflow: hidden;
            box-sizing: content-box;
        }
        
        .side-button {
            position: absolute;
            background: #2A2A2A;
            width: 3px;
            right: -13px;
            border-radius: 2px;
        }
        
        .power-button {
            height: 40px;
            top: 100px;
        }
        
        .volume-up {
            height: 30px;
            top: 180px;
        }
        
        .volume-down {
            height: 30px;
            top: 220px;
        }
        
        .app-screen {
            width: 100%;
            height: 100%;
            background-color: var(--dark-bg);
            overflow-y: auto;
            position: relative;
        }
        
        /* 顶部导航 */
        .top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            color: var(--text-primary);
        }
        
        /* 用户信息卡片 */
        .user-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            margin: 0 12px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 30px;
            border: 2px solid var(--douyin-red);
            object-fit: cover;
        }
        
        .user-level {
            background: linear-gradient(135deg, #FF4D67, #FF8A9A);
            color: white;
            border-radius: 10px;
            font-size: 10px;
            padding: 2px 6px;
            margin-left: 8px;
        }
        
        /* 功能入口区域 */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 10px;
            padding: 16px 12px;
        }
        
        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-primary);
            font-size: 12px;
        }
        
        .feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 6px;
        }
        
        /* 选项卡切换 */
        .tab-bar {
            display: flex;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin: 0 12px;
        }
        
        .tab-item {
            flex: 1;
            text-align: center;
            color: var(--text-secondary);
            padding: 12px 0;
            font-size: 14px;
            position: relative;
        }
        
        .tab-item.active {
            color: var(--text-primary);
            font-weight: 500;
        }
        
        .tab-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 3px;
            background-color: var(--douyin-red);
            border-radius: 1.5px;
        }
        
        /* 拼餐卡片 */
        .group-meal-card {
            background-color: var(--card-bg);
            border-radius: 10px;
            margin: 10px 12px;
            overflow: hidden;
        }
        
        .status-tag {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 6px;
        }
        
        .status-active {
            background-color: rgba(52, 211, 153, 0.2);
            color: rgb(52, 211, 153);
        }
        
        .status-completed {
            background-color: rgba(59, 130, 246, 0.2);
            color: rgb(59, 130, 246);
        }
        
        .status-canceled {
            background-color: rgba(239, 68, 68, 0.2);
            color: rgb(239, 68, 68);
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(15, 15, 15, 0.95);
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 90;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-secondary);
            font-size: 11px;
        }
        
        .nav-item.active {
            color: var(--douyin-red);
        }
        
        .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: var(--douyin-red);
            color: white;
            border-radius: 8px;
            min-width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: bold;
        }
        
        /* 分割线 */
        .divider {
            height: 6px;
            background-color: rgba(0, 0, 0, 0.3);
            margin: 0;
        }
    </style>
</head>
<body>
    <div id="app">
        <!-- iPhone 6 外壳 -->
        <div class="iphone-frame">
            <div class="side-button power-button"></div>
            <div class="side-button volume-up"></div>
            <div class="side-button volume-down"></div>
            
            <!-- App 屏幕 -->
            <div class="app-screen no-scrollbar">
                <!-- 顶部导航 -->
                <div class="top-nav">
                    <div></div>
                    <div class="text-white font-medium">个人中心</div>
                    <div>
                        <i class="fa-solid fa-gear text-white"></i>
                    </div>
                </div>
                
                <!-- 用户信息 -->
                <div class="user-card">
                    <div class="flex">
                        <div class="mr-3">
                            <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-1.2.1&auto=format&fit=crop&w=150&q=80" class="avatar">
                        </div>
                        <div class="flex-1">
                            <div class="flex items-center">
                                <div class="text-white font-semibold">张小凡</div>
                                <div class="user-level">铂金会员</div>
                            </div>
                            <div class="text-gray-400 text-xs mt-1">ID: 12345678</div>
                            <div class="text-gray-400 text-xs mt-2">
                                已连续拼餐15天，共节省￥1280
                            </div>
                            <div class="mt-2 flex">
                                <div class="text-xs text-white mr-4">
                                    <span class="font-semibold">28</span> 关注
                                </div>
                                <div class="text-xs text-white">
                                    <span class="font-semibold">56</span> 粉丝
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="text-xs text-white bg-gray-700 px-2 py-1 rounded">
                                编辑
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 功能入口区 -->
                <div class="feature-grid">
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fa-solid fa-wallet text-red-400"></i>
                        </div>
                        <div>我的钱包</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fa-solid fa-bookmark text-yellow-400"></i>
                        </div>
                        <div>我的收藏</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fa-solid fa-star text-blue-400"></i>
                        </div>
                        <div>常去餐厅</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fa-solid fa-ticket text-green-400"></i>
                        </div>
                        <div>优惠券</div>
                    </div>
                </div>
                
                <div class="divider"></div>
                
                <!-- 拼餐记录 -->
                <div class="tab-bar">
                    <div class="tab-item active">我发起的拼餐</div>
                    <div class="tab-item">我参与的拼餐</div>
                </div>
                
                <!-- 拼餐记录列表 -->
                <div class="mb-16">
                    <!-- 拼餐1 -->
                    <div class="group-meal-card">
                        <div class="p-3">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-medium flex items-center">
                                    海底捞火锅 
                                    <span class="status-tag status-active">进行中</span>
                                </div>
                                <div class="text-xs text-gray-400">今天 19:30</div>
                            </div>
                            <div class="flex mt-2 items-center">
                                <div class="bg-gray-800 rounded p-1">
                                    <img src="https://images.unsplash.com/photo-1600891964092-4316c288032e?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&h=50&q=80" class="w-10 h-10 rounded object-cover">
                                </div>
                                <div class="ml-2 flex-1">
                                    <div class="text-white text-xs">南京西路店 · 距您5.2km</div>
                                    <div class="text-gray-400 text-xs mt-1">已有3人参与，还差1人</div>
                                    <div class="flex items-center mt-1">
                                        <div class="flex -space-x-2">
                                            <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                            <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                            <img src="https://images.unsplash.com/photo-1599566150163-29194dcaad36?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <div class="border border-gray-700 rounded text-white text-xs px-2 py-1">
                                        邀请好友
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 拼餐2 -->
                    <div class="group-meal-card">
                        <div class="p-3">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-medium flex items-center">
                                    必胜客 
                                    <span class="status-tag status-completed">已完成</span>
                                </div>
                                <div class="text-xs text-gray-400">昨天 12:30</div>
                            </div>
                            <div class="flex mt-2 items-center">
                                <div class="bg-gray-800 rounded p-1">
                                    <img src="https://images.unsplash.com/photo-1590947132387-155cc02f3212?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&h=50&q=80" class="w-10 h-10 rounded object-cover">
                                </div>
                                <div class="ml-2 flex-1">
                                    <div class="text-white text-xs">静安寺店 · 距您2.8km</div>
                                    <div class="text-gray-400 text-xs mt-1">4人参与，节省￥120</div>
                                    <div class="flex items-center mt-1">
                                        <div class="flex -space-x-2">
                                            <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                            <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                            <img src="https://images.unsplash.com/photo-1599566150163-29194dcaad36?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                            <img src="https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?ixlib=rb-1.2.1&auto=format&fit=crop&w=40&h=40&q=80" class="w-5 h-5 rounded-full border border-gray-800">
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <div class="border border-gray-700 rounded text-white text-xs px-2 py-1">
                                        查看详情
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 拼餐3 -->
                    <div class="group-meal-card">
                        <div class="p-3">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-medium flex items-center">
                                    星巴克咖啡 
                                    <span class="status-tag status-canceled">已取消</span>
                                </div>
                                <div class="text-xs text-gray-400">上周五 15:00</div>
                            </div>
                            <div class="flex mt-2 items-center">
                                <div class="bg-gray-800 rounded p-1">
                                    <img src="https://images.unsplash.com/photo-1501504905252-473c47e087f8?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&h=50&q=80" class="w-10 h-10 rounded object-cover">
                                </div>
                                <div class="ml-2 flex-1">
                                    <div class="text-white text-xs">淮海路店 · 距您1.5km</div>
                                    <div class="text-gray-400 text-xs mt-1">取消原因：临时有事无法参加</div>
                                </div>
                                <div>
                                    <div class="border border-gray-700 rounded text-white text-xs px-2 py-1">
                                        重新发起
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多 -->
                    <div class="text-center text-gray-500 text-xs py-3">
                        上拉加载更多
                    </div>
                </div>
                
                <!-- 底部导航栏 -->
                <div class="bottom-nav">
                    <div class="nav-item">
                        <i class="fa-solid fa-house text-lg"></i>
                        <div class="mt-1">首页</div>
                    </div>
                    <div class="nav-item">
                        <i class="fa-solid fa-compass text-lg"></i>
                        <div class="mt-1">发现</div>
                    </div>
                    <div class="nav-item">
                        <i class="fa-solid fa-comment text-lg"></i>
                        <div class="mt-1 relative">
                            消息
                            <div class="badge">2</div>
                        </div>
                    </div>
                    <div class="nav-item active">
                        <i class="fa-solid fa-user text-lg"></i>
                        <div class="mt-1">我的</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        const { createApp } = Vue
        
        createApp({
            data() {
                return {
                    // 数据可在这里定义
                }
            },
            methods: {
                // 方法可在这里定义
            }
        }).mount('#app')
    </script>
</body>
</html> 